/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ac.za.designPatterns.creational.factoryMethod.model;

import ac.za.designPatterns.creational.factoryMethod.Car;

/**
 *
 * @author Sandiso Toto
 */
public class ClassicCar extends Car {

    boolean start = false;
    
    @Override
    public boolean drive(int fuelInLitres) {
        if(fuelInLitres > 0){
            start =  true;
            System.out.println("The Classic car has started \n");
            
            }
        return start;
        
    }

    @Override
    public String stop() {
        return "The Classic car has stoped \n";
    }
    
}
